package com.tianhao.luo.v1;

import java.util.ArrayList;

/**
 * @ClassName: Teacher
 * @Description: 老师类
 * @author: tianhao.luo@hand-china.com
 * @date: 2020/7/14  16:56
 */
public class Teacher {

    public void commond(GroupLeader groupLeader){
        ArrayList<Girl> arrayList = new ArrayList<>();
        //初始化女生
        for (int i = 0; i < 20; i++) {
            arrayList.add(new Girl());
        }
        //告诉体育委员开始执行清查任务
        groupLeader.countGirls(arrayList);
    }
}
